<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>手机报价,手机价格表【大全、品牌、行情、正品行货】国美配送-国美在线</title>
        <link rel="stylesheet" href="{{asset('./home/Content/saved_resource(1).css')}}">
        <link rel="stylesheet" href="{{asset('./home/Content/baf6318572354d41aa6c798a557b6596.css')}}">
		<script src="{{asset('myadmin/bootstrap/js/jquery-3.1.0.js')}}" type="text/javascript"></script>
        <script type="text/javascript">
			var dynSite = '', staSite = '', contextPath = '', imgServer = '', secureURL = '', pictureserver = '', cookieDomain = '', stageJsServer = '', stageImageServer = '', stageCssServer = '', cssserver = '', jsserver = '', protocol = '',versionData = '';
		</script>
        <script type="text/javascript">
            var apiSite = '', cloudSite = "", contextPath = '';
            var productSite = "";
            var isHyg = false;
            var isSearch = false;
            isSearch = false;
            var searchSite = isHyg ? '' : '';
        </script>
        <script type="text/javascript">
            var dsp_gome_catid = "";
            var dsp_gome_catname = "";
            var dsp_gome_c1name = "";
            var dsp_gome_c2name = "";
            var dsp_gome_c3name = "";
            var dsp_gome_c1id = "";
            var dsp_gome_c3id = "";
            var searchkey = "";
        </script>
    </head>
    <body>
		<!--//头部为所有页面公有 包含登录注册 -->
		@include('home.include.header')
        <div style="display:none" id="severInfolist">
            server:<br/>
            from:<br/>
            thread:<br/>
            job:<br/>
            time:<br/>
        </div>
		<!--//商品头部为商品页面公有-->
		@include('home.include.gheader')
        <div class="nSearchWarp">
            <div class="hot-tj">
				<span class="icon_tj">热卖<br>推荐</span>
				<ul class="hot-list clearfix" id="hot-list" modelid="9000000000">
					<?php $k=0; ?>
					@foreach($minfo as $v)
					<?php $pk=0; ?>
					@foreach($pic as $pv)
					@if($v->status == "on" && $k < 4 && $v->number > 0)
						@if($pv->mid == $v->mid && !($pk))
					<li class="item">
						<p class="pic">
							<a target="_blank" href='{{url("home/mall/$v->mid")}}' title="{{$v->name}}">
							<img src="../{{$pv->pic}}" alt="{{$v->name}}" gome-src=""></a>
						</p>
						<p class="name"><a target="_blank" href='{{url("home/mall/$v->mid")}}' title="{{$v->name}}">{{$v->name}}</a></p>
						<p class="price"><span>卖出{{$v->sale}}件</span></p><p class="btn">
							<a target="_blank"  href='{{url("home/mall/$v->mid")}}'>立即抢购</a>
						</p>
					</li>
						<?php $pk = $pv->id; ?>
						@endif
					@endif
					@endforeach
					@endforeach
					<?php $k++; ?>
				</ul>
			</div>
        </div>
		
        <div class="nSearchWarp">
			@foreach($forum as $v)
			@if($v->id == $genre1->fid)
            <div class="nSearch-crumb clearfix">
				<a id="category-first" href='{{url("home/port")}}?list=' class="nSearch-crumb-tit-category">{{$v->name}}</a>
                <dl class="nSearch-crumb-category" catgoryId="cat10000014" id="category-third">
                    <dt class="category-name">{{$genre1->name}}</dt>
                    <dd class="category-box" >
						@foreach($type as $tv)
						@if($tv->pid == $tdata['gid'])
							<a href='{{url("home/list?list=$tv->pid&name=$tv->name")}}'>{{$tv->name}}</a>
						@endif
						@endforeach
                    </dd>
                </dl>
				
                <div class="nSearch-crumb-facetsCurrent-warp" id="nSearch-crumb-facetsCurrent-warp">
                    <ul class="nSearch-crumb-facetsCurrent haschecked">
						@foreach($tdata as $k => $v)
						@if($k != 'gid')
						<li><a alt="{{$v}}"><i tagName="{{$v}}">×</i><em></em>{{$v}}</a></li>
						@endif
						@endforeach
                    </ul>
                    <a href="javascript:void(0)" class="facetsCurrent-prev fc-btn"></a>
                    <a href="javascript:void(0)" class="facetsCurrent-next fc-btn"></a>
                </div>
            </div>
            <div class="nSearchWarp nSearch-crumb-category-results">
                <span class="nFont14"><b class="nHeigh">{{$genre1->name}}</b>商品筛选</span>
				<?php 
					$i = 0;
					foreach($minfo as $m){
						foreach($search as $s){
							if($m->mid == $s->mid){
								$i++;
							}
						}
					}
				?>
                <span>共 <em id="searchTotalNumber"><?php echo $i;?></em> 个商品</span>
            </div>
		</div>
		@endif
		@endforeach
        <div class="nSearchWarp nSearch-facets">
			@foreach($pag as $k=>$v)
			@if($v->field == 'brand')
				<div id="facets-category-brand" class="facets-category clearfix">
					<div class="fc-option">
						<span class="fc-option-multiple">多选</span>
						<span class="fc-option-more"><i></i>更多</span>
					</div>
					<span class="fc-key">{{$v->name}}：</span>
					<div class="fc-content">
						<ul class="category-brand-f-letter clearfix" style>
							<li class="all cur" brand-key="all">所有{{$v->name}}</li>
							<li brand-key="A">A</li>
							<li brand-key="B">B</li>
							<li brand-key="D">D</li>
							<li brand-key="G">G</li>
							<li brand-key="H">H</li>
							<li brand-key="L">L</li>
							<li brand-key="M">M</li>
							<li brand-key="P">P</li>
							<li brand-key="Q">Q</li>
							<li brand-key="S">S</li>
							<li brand-key="W">W</li>
						</ul>
						<div>
							<ul class="category-brand clearfix" style="position: relative;">
								<?php
									$data = explode("、", $v->values);
								?>
								@foreach($data as $k=>$v1)
								<li class="c-brand"  brand-value="S">
									<a id="brandID11st" facetsId="11st" c_href='{{url("home/list?list=$v->gid&name=")}}' class="emcodeProp17" track="{{$v->field}}" name="{{$v1}}" style="background-image:url(Images/10000301.jpg)">{{$v1}}</a>
									<span class="brand-select"></span>
								</li>
								@endforeach
							</ul>
						</div>
						<ul class="category-brand-hasCheck clearfix" id="category-brand-hasCheck">
							<li class="hasCheckedTit">已选：</li>
						</ul>
						<div class="fc-btn-box">
							<a class="fc-btn-ok  fc-disable" href="javascript:void(0)">确定</a>
							<a class="fc-btn-cancel" href="javascript:void(0)">取消</a>
						</div>
					</div>
				</div>
				@else	
				<div class="facets-category facets-category-common clearfix 
				@if($k > 2)   fc-hide  @endif  ">
					<div class="fc-option">
						<span class="fc-option-multiple">多选</span>
						<span class="fc-option-more"><i></i>更多</span>
					</div>
					<span class="fc-key">{{$v->name}}：</span>
					<div class="fc-content">
						<div class="category-normal">
							<ul class="clearfix">
								<?php
									$data = explode("、", $v->values);
								?>
								@foreach($data as $k=>$v1)
								<li class="c-brand"><a name="{{$v1}}" chref='{{url("home/list")}}' c_href='{{url("home/list?list=$v->gid&name=")}}' track='{{$v->field}}' >{{$v1}}</a></li>
								@endforeach
							</ul>
						</div>
						<div class="fc-btn-box">
							<a class="fc-btn-ok fc-disable" href="javascript:void(0)">确定</a>
							<a class="fc-btn-cancel" href="javascript:void(0)">取消</a>
						</div>
					</div>
				</div>
			@endif
			@endforeach
            <div class="fccc-control-warp">
                <span class="fccc-control"  id="fc-common-control">更多选项</span>
                <span class="fccc-up" id="fc-common-up">收起&nbsp;&nbsp;</span>
            </div>
        </div>
		<form id="tagForm" method="post" action='{{url("home/list")}}'>
			<input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
			@foreach($tdata as $k => $v)
			<input type="hidden" name="{{$k}}" value="{{$v}}">
			@endforeach
		</form>
		<script>
			var data = new Array();
			$(".c-brand").click(function(){
				//向表单添加新加的标签条件
				$('<input type="hidden" name="'+$(this).children("a").attr("track")+'" value="'+$(this).children("a").attr("name")+'">').appendTo("form");
				//隐藏已选标签栏
				$(this).parent().parent().parent().parent().hide();
				//提交表单
				$("#tagForm").submit();		
			});
			$(".nSearch-crumb-facetsCurrent i").click(function(){
				$(this).parent().parent().remove();
				$("#tagForm input[value='"+$(this).attr("tagName")+"']").remove();
				//提交表单
				$("#tagForm").submit();		
			});
		</script>
        <div class="nSearchWarp">
            <div class="nSearchWarp-main">
                <div class="product-right-box">
                    <div class="prd-right-normal">
                        <h3 class="hd">即将出售</h3>
						<?php $n=0;?>
						@foreach($minfo as $v)
						<?php $k=0;?>
						@foreach($search as $s)
						@foreach($pic as $p)
						@if($p->mid == $v->mid && !$k)
						@if($n < 4 && $s->mid == $v->mid && $v->status == "wait")
						<ul class="bd">                    
							<li class="buy-items">               
								<div class="pic">
									<a href="#" target="_blank">
									<img gome-src="" src="../{{$p->pic}}"></a>
								</div>                
								<div class="price">¥<span>{{$s->price}}</span></div>                
								<div class="name"><abbr title="{{$v->brief}}"><a href='{{url("home/mall/$v->mid")}}' target="_blank">{{$v->name}}</a></abbr></div>            
							</li>            
						</ul>
						<?php $n++;$k++; ?>
						@endif
						@endif
						@endforeach
						@endforeach
						@endforeach
                    </div>
                    <div class="prd-right-normal" >
                        <h3 class="hd">一周销量排行榜</h3>
                        <ul class="sell-product" id="bigD_weekTop">                   
							<li class="active">                
								<p class="num num1">1</p>                
								<p class="pname">
									<a class="bigD_item" track="" href="" target="_blank">QCY Q8派 高清音质商务无线通话音乐蓝牙4.0 支持苹果小米三星华为魅族等苹果安卓系统通用型蓝牙耳机(玫瑰金)</a>
								</p>                
								<div class="pdetail">                    
									<p class="pic">
										<a class="bigD_item" track="" href="#" target="_blank">
										<img gome-src="" src=""></a>
									</p>                    
									<p class="name">
										<a class="bigD_item" track="" href="#" target="_blank">QCY Q8派 高清音质商务无线通话音乐蓝牙4.0 支持苹果小米三星华为魅族等苹果安卓系统通用型蓝牙耳机(玫瑰金)</a>
									</p>                    
									<p class="price"><em>¥<span>39.90</span></em></p>               
								</div>            
							</li>           
						</ul>
                    </div>
                    <div class="prd-right-normal" style="display: none" id="dsp_advertisement"></div>
                    <div id="personrecommend-warp">
						<div class="personrecommend prd-right-normal" id="personrecommend"></div>
					</div>
                </div>
				
                <div class="product-left-list" id="product-left">
                    <div style="height:74px">
                        <div id="filter-box">
                            <div id="filter-top" class="filter-top clearfix">
                                <ul class="filter-order-box" id="filter-order-box">
                                    <li class="cur emcodeProp17" data-sort="00" track="筛选条件:综合"><a href="">综合</a></li>
                                    <li class=" emcodeProp17" data-sort="10" track="筛选条件:销量"><a href="javascript:void(0)">销量</a></li>
                                    <li class=" emcodeProp17" data-sort="30" track="筛选条件:新品"><a href="javascript:void(0)">新品</a></li>
                                    <li class=" emcodeProp17" data-sort="50" track="筛选条件:评价"><a href="javascript:void(0)">评价</a></li>
                                    <li class=" emcodeProp17" data-sort="21" track="筛选条件:价格"><a href="javascript:void(0)">价格</a><i class="icon-up-down"></i></li>
                                </ul>
                                <ul class="filter-priceRange-box clearfix">
                                    <li class="priceRange-input"><input id="fc-lowPrice" maxlength="6" type="text" value="¥" /></li>
                                    <li class="priceRange-link">-</li>
                                    <li class="priceRange-input"><input id="fc-highPrice" type="text" maxlength="6" value="¥" /></li>
                                    <li class="priceRange-btn"><a id="fc-btn-cancel" class="fc-btn-cancel" href="javascript:void(0)">清除</a></li>
                                    <li class="priceRange-btn"><a id="fc-btn-ok" class="fc-btn-ok" href="javascript:void(0)">确定</a></li>
                                </ul>
                                <div class="filter-resultSearch-box">
                                    <input type="text" value="在结果中搜索"  class="filter-resultSearch-input" />

                                    <a href="javascript:void(0)" class="filter-resultSearch-btn">确定</a>
                                </div>
                                <div class="min-pager-box">
                                    <a href="javascript:void(0)" class="min-pager-next mp-disable" id="mp-next">&gt;</a>
                                    <a href="javascript:void(0)" class="min-pager-prev mp-disable" id="mp-prev">&lt;</a>
                                    <span class="min-pager-number" id="min-pager-number">1/1</span>
                                </div>
                            </div>
                            <div id="filter-bottom" class="filter-bottom">
                                <div class="filter-adress-box">
                                    <span class="filter-adress-tit">送至：</span>
                                    <span id="address" class="filter-adress-stock">
                                        <a id="stockaddress" class="emcodeProp17"  track="筛选条件:地区修改" href="javascript:void(0);">请选择</a>
                                        <i class="filter-adress-icon"></i>
                                        <em class="space"></em>
                                    </span>

                                    <div class="gCity clearfix"></div>
                                </div>
                                <div class="filter-label-box">
                                    <label class="gmform-label emcodeProp17 checke" id="deliv" track="筛选条件:国美配送" url="http://list.gome.com.cn/cat10000078-00-0-48-1-0-0-0-1-0-0-0-0-0-0-0-0-0.html"><i class="iic"></i>国美配送</label>

                                    <label class="gmform-label emcodeProp17 checke" id="instock" track="筛选条件:是否有货" url="http://list.gome.com.cn/cat10000078-00-0-48-0-0-0-0-1-0-0-1-0-0-0-0-0-0.html"><i class="iic"></i>仅显示有货</label>

                                    <label class="gmform-label emcodeProp17 " id="discountPromo" track="筛选条件:促销" url="http://list.gome.com.cn/cat10000078-00-001-48-1-0-0-0-1-0-0-1-0-0-0-0-0-0.html"><i class="iic"></i>促销商品</label>

                                    <label class="gmform-label emcodeProp17 " id="discountQiang" track="筛选条件:真划算" url="http://list.gome.com.cn/cat10000078-00-010-48-1-0-0-0-1-0-0-1-0-0-0-0-0-0.html"><i class="iic"></i>真划算</label>


                                    <label class="gmform-label filter-label-specialScreening emcodeProp17" for="specialScreening" id="specialScreening" track="筛选条件:特殊活动八三男人节"><i class="iic"></i>
                                        八三男人节
                                    </label>
                                </div>
                            </div>
                        </div>
                    </div>
					<div class="product-box">
                        <div class="product-waiting" id="product-waiting"></div>
                        <ul class="product-lists clearfix" id="product-box">
							@foreach($minfo as $m)
							@foreach($search as $s)
							@if($m->mid == $s->mid)
                            <li class="product-item" style="height:472px;">
                                <input class="productInfo" type="hidden" gomeert="false" prd-index="0" pId="9134291766" sId="1123231456" skuNo="100406630" pName="{{$m->name}}" price="{{$s->price}}" saleCount="19" marketTag="0" evaluateCount="47" score="1489.37" promoScore="0" pStock="1" pWeight="15.91"  promoStock=""/>
                                <ul class="arbitrage clearfix ">
                                </ul>
                                <div class="item-tab-warp" sid="1123231456" pid="9134291766">
                                    <p class="item-pic">
									<a class="emcodeItem item-link" target="_blank" href='{{url("home/mall/$m->mid")}}'  title="{{$m->name}}">
									<?php $k = 0;?>
									@foreach($pic as $pv)
									@if($pv->mid == $s->mid )
									@if(!$k)
									<img src="../{{$pv->pic}}" width=210px; height=210px; alt="{{$m->name}}"></a>
									</p>
									<div class="item-pic-small-box" index="1" curIndex="1">
                                        <div class="item-pic-small-wrap">
                                            <ul class="imgList">
                                                <li class="current" sid="1123231456">
                                                    <a href="javascript:void(0);" title="">
                                                        <img onClick="javascript:smallImgOnClick(this)" width=30px; height=30px; src='../{{$pv->pic}}' sid="1123231456"/>
                                                    </a>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
									<?php $k = $pv->id; ?>
									@endif
									@endif
									@endforeach
									@if($m->activity == "yes")
                                    <div class="sb-item-price-warp">
                                        <ul class="sb-item-price">
                                            <li class="defaultLi"><span>¥{{$s->price}}</span>比京东低20元</li>
                                            <li class="otherLi">
                                                <p>京东价：<span>¥{{$s->price+20}}</span>比京东低20元</p>

                                                <p class="ti">比价时间：2016-08-01 16:26:17</p>
                                            </li>
                                        </ul>
                                        <i class="tiger"></i>
                                    </div>
									@endif
                                    <div class="item-price ">
                                        <span class="price">¥{{$s->price}}</span>
                                    </div>
                                    <p class="item-name"><a class="emcodeItem item-link"   href='{{url("home/mall/$m->mid")}}' title="{{$m->name}}" target="_blank">{{$m->name}}</a></p>
                                    <p class="item-promotional-language" title="{{$m->brief}}">
                                        {{$m->brief}}
                                    </p>
									
                                    <p class="item-comment-dispatching">
                                        <span class="dispatching">
										@if($m->number > 0 && $m->status == "on")
											有货 热卖中
										@elseif($m->status == "wait")
											新款 请等待
										@endif
										</span>
                                        <a href="#" target="_blank" class="comment emcodeItem" track="产品列表评论数">47</a>
                                    </p>
                                    <p class="item-option clearfix">
                                        <span class="add-contrast display-page-compare-checkbox emcodeProp17" track="分类列表页:对比"></span>
                                        <span class="add-collection emcodeProp17" track="分类列表页:收藏">收藏</span>
                                        <span class="emcodeProp17" track="分类列表页:添加购物车" >
										<a href="{{url("home/shop/add/$m->mid")}}">加入购物车</a></span>
                                    </p>
                                    <p class="item-shop">
                                        <span class="nname">国美自营</span>
                                    </p>
                                </div>
                            </li>
							@endif
							@endforeach
							@endforeach
                            
                        </ul>
                        <div class="clearfix" id="product-pager">
                            <div class="pager" id="j-page"></div>
                        </div>
                    </div>
					
                    <div class="compare-bar" style="display: none;">
                        <div id="errorCompare" class="error" style="display: none;"></div>
                        <div class="hd">
                            <ul class="title clearfix">
                                <li class="compare_li hover">对比栏<em id="pCount">（0）</em>
                                </li>
                                <li class="compare_lesat">最近浏览</li>
                            </ul>
                            <a class="more" href="javascript:void(0);">隐藏</a>
                        </div>
                        <div class="bd clearfix">
                            <div class="items compare-bd" id="compare">
                                <ul class="clearfix">
                                    <li class="compare-items">
                                        <p class="pic">1</p>
                                        <p class="txt">您还可以继续添加</p> <s></s></li>
                                    <li class="compare-items">
                                        <p class="pic">2</p>
                                        <p class="txt">您还可以继续添加</p> <s></s></li>
                                    <li class="compare-items">
                                        <p class="pic">3</p>
                                        <p class="txt">您还可以继续添加</p> <s></s></li>
                                    <li class="compare-items">
                                        <p class="pic">4</p>
                                        <p class="txt">您还可以继续添加</p> <s></s></li>
                                    <li class="compare-items last">
                                        <p class="btn-wrap">
                                            <a class="btn disable" href="javascript:void(0);">对比</a> <a class="btn-clear" onclick='javascript:clearCompare();
                                                    return false;' href="javascript:void(0);">清空对比栏</a>
                                        </p></li>
                                </ul>
                            </div>

                            <div style="display:none" class="items newly-bd js-cbox">
                                <a track="对比栏:left" href="javascript:void(0);" class="icon icon-prev js-cprev"><i class="prev"></i></a>
                                <a track="对比栏:right" href="javascript:void(0);" class="icon icon-next js-cnext"><i class="next"></i></a>
                                <div class="newly-cont" id="history">
                                </div>
                                <p class="noItem" style="display:none;">您最近没有查看过商品！</p>
                            </div>
                        </div>
                    </div>        
                </div>
            </div>
        </div>
		
        <div class="nSearchWarp">
            <dl class="nSearch-bottomTuiGuang" style="display:none">
                <dt class="hd">推广商品</dt>
                <dd class="bd">
                    <ul class="clearfix" id="dsp_bottomTuiGuang">
                    </ul>
                </dd>
            </dl>
			<dl class="nSearch-recentVisit">
                <dt class="hd">最近浏览</dt>
                <dd class="bd">
                    <ul class="recentVisit-lists clearfix" id="recentVisit-lists">	
                    </ul>
                </dd>
            </dl>
			<div class="nSearch-bottomTuiGuangAD" style="display:none" id="dsp_bottomAD"></div>
		</div>
		<!--//页面共有尾部-->
		@include('home.include.footer')
        <script src="{{asset('./home/Scripts/list0.js')}}"></script>
        <script src="{{asset('./home/Scripts/list1.js')}}"></script>
        <script src="{{asset('./home/Scripts/list2.js')}}"></script>
        <script src="{{asset('./home/Scripts/list3.js')}}"></script>
    </body>
</html>